﻿//----------------------------------------------------------------------------------------------------
// The VisualManager is responsible for keeping referneces to visual objects of interest to the code
//----------------------------------------------------------------------------------------------------

package HG.Managers
{
	public class VisualManager extends IGameManager
	{
		var m_game:Object;
		
		//----------------------------------------------------------------------------------------------------
		public function LevelManager()
		{
			
		}
			
		//----------------------------------------------------------------------------------------------------
		override public function Initialize()
		{
			//LoadLevel(0);
		}
		
		//----------------------------------------------------------------------------------------------------
		override public function Shutdown()
		{
			
		}
		
		//----------------------------------------------------------------------------------------------------
		override public function OnTick(DeltaTime:Number)
		{
			
		}
		
		//----------------------------------------------------------------------------------------------------
		// RegisterGameArea allows for the visual component to register itself for display elements
		//----------------------------------------------------------------------------------------------------
		public function RegisterGameArea(obj:Object)
		{
			m_game = obj;
		}
		
		//----------------------------------------------------------------------------------------------------
		public function GetGameArea():Object
		{
			return m_game;
		}
		
		//----------------------------------------------------------------------------------------------------
	}
}